<!-- views/newPage.vue -->

<template>
	<h2>chatGpt内容：{{ content }}</h2>
</template>

<script>
	export default {
		name: 'chatGpt',
		data() {
			return {
				content: ""
			}
		},
		mounted() {
			this.getInfo()
		},
		methods: {
			async getInfo(){
				var res = await this.$API.chatGpt.getContent.get()
				this.content = res.data
			}
		}
	}
</script>
